inherited dtmcw_Account: Tdtmcw_Account
  OldCreateOrder = True
  Left = 389
  Top = 405
  Height = 371
  Width = 713
  inherited adsMaster: TADODataSet
    CursorType = ctStatic
    CommandText = 'select * from cw_Account where 0=1'
    Top = 48
    object adsMasterAccountID: TStringField
      DisplayLabel = #36134#25143'ID'
      FieldName = 'AccountID'
    end
    object adsMasterAccountCode: TStringField
      DisplayLabel = #36134#25143#32534#30721
      FieldName = 'AccountCode'
    end
    object adsMasterAccountFullName: TStringField
      DisplayLabel = #36134#25143#20840#31216
      FieldName = 'AccountFullName'
      Size = 50
    end
    object adsMasterAccountShortName: TStringField
      DisplayLabel = #36134#25143#31616#31216
      FieldName = 'AccountShortName'
    end
    object adsMasterAccountType: TWordField
      DisplayLabel = #36134#25143#31867#22411
      FieldName = 'AccountType'
    end
    object adsMasterDeptID: TStringField
      DisplayLabel = #20844#21496'ID'
      FieldName = 'DeptID'
    end
    object adsMasterHasUse: TBooleanField
      DisplayLabel = #20351#29992#21542
      FieldName = 'HasUse'
    end
    object adsMasterHasSysDefine: TBooleanField
      DisplayLabel = #31995#32479#23450#20041#21542
      FieldName = 'HasSysDefine'
    end
    object adsMasterHasDefault: TBooleanField
      DisplayLabel = #40664#35748#21542
      FieldName = 'HasDefault'
    end
    object adsMasterHasCheck: TBooleanField
      DisplayLabel = #23457#26680#21542
      FieldName = 'HasCheck'
    end
    object adsMasterChecker: TStringField
      DisplayLabel = #23457#26680#20154
      FieldName = 'Checker'
    end
    object adsMasterCheckTime: TDateTimeField
      DisplayLabel = #23457#26680#26102#38388
      FieldName = 'CheckTime'
    end
    object adsMasterWriter: TStringField
      DisplayLabel = #39318#36755#20154
      FieldName = 'Writer'
    end
    object adsMasterWriteTime: TDateTimeField
      DisplayLabel = #39318#36755#26102#38388
      FieldName = 'WriteTime'
    end
    object adsMasterModifier: TStringField
      DisplayLabel = #20462#25913#20154
      FieldName = 'Modifier'
    end
    object adsMasterModifyTime: TDateTimeField
      DisplayLabel = #20462#25913#26102#38388
      FieldName = 'ModifyTime'
    end
    object adsMasterRemark: TStringField
      DisplayLabel = #22791#27880
      FieldName = 'Remark'
      Size = 50
    end
  end
  inherited adsMasterEdit: TADODataSet
    CursorType = ctStatic
    CommandText = 'select * from cw_Account'
    object adsMasterEditAccountID: TStringField
      DisplayLabel = #36134#25143'ID'
      FieldName = 'AccountID'
    end
    object adsMasterEditAccountCode: TStringField
      DisplayLabel = #36134#25143#32534#30721
      FieldName = 'AccountCode'
    end
    object adsMasterEditAccountFullName: TStringField
      DisplayLabel = #36134#25143#20840#31216
      FieldName = 'AccountFullName'
      Size = 50
    end
    object adsMasterEditAccountShortName: TStringField
      DisplayLabel = #36134#25143#31616#31216
      FieldName = 'AccountShortName'
    end
    object adsMasterEditAccountType: TWordField
      DisplayLabel = #36134#25143#31867#22411
      FieldName = 'AccountType'
    end
    object adsMasterEditDeptID: TStringField
      DisplayLabel = #20844#21496'ID'
      FieldName = 'DeptID'
    end
    object adsMasterEditHasUse: TBooleanField
      DisplayLabel = #20351#29992#21542
      FieldName = 'HasUse'
    end
    object adsMasterEditHasSysDefine: TBooleanField
      DisplayLabel = #31995#32479#23450#20041#21542
      FieldName = 'HasSysDefine'
    end
    object adsMasterEditHasDefault: TBooleanField
      DisplayLabel = #40664#35748#21542
      FieldName = 'HasDefault'
    end
    object adsMasterEditHasCheck2: TBooleanField
      DisplayLabel = #23457#26680#21542
      FieldName = 'HasCheck'
    end
    object adsMasterEditChecker2: TStringField
      DisplayLabel = #23457#26680#20154
      FieldName = 'Checker'
    end
    object adsMasterEditCheckTime2: TDateTimeField
      DisplayLabel = #23457#26680#26102#38388
      FieldName = 'CheckTime'
    end
    object adsMasterEditWriter2: TStringField
      DisplayLabel = #39318#36755#20154
      FieldName = 'Writer'
    end
    object adsMasterEditWriteTime2: TDateTimeField
      DisplayLabel = #39318#36755#26102#38388
      FieldName = 'WriteTime'
    end
    object adsMasterEditModifier2: TStringField
      DisplayLabel = #20462#25913#20154
      FieldName = 'Modifier'
    end
    object adsMasterEditModifyTime2: TDateTimeField
      DisplayLabel = #20462#25913#26102#38388
      FieldName = 'ModifyTime'
    end
    object adsMasterEditRemark2: TStringField
      DisplayLabel = #22791#27880
      FieldName = 'Remark'
      Size = 50
    end
  end
  object adsAccountType: TADODataSet
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    CommandText = 
      'select 0 as ID, '#39#29616#37329#39' as Name'#13#10'union all'#13#10'select 1 as ID, '#39#38134#34892#39' as' +
      ' Name'
    Parameters = <>
    Left = 184
    Top = 48
  end
  object adsUserCompany: TADODataSet
    Connection = dtmConnect.conMain
    LockType = ltBatchOptimistic
    CommandText = 
      'select b.DeptID, b.DeptCode, b.DeptName from xt_CompanySet a '#13#10'j' +
      'oin da_Department b on a.CompanyID=b.DeptID'#13#10'where a.UserID=(sel' +
      'ect UserID from xt_Users where UserCode=:UserCode)'#13#10'and isnull(b' +
      '.HasStop,0)=0'
    Parameters = <
      item
        Name = 'UserCode'
        Size = -1
        Value = Null
      end>
    Left = 320
    Top = 48
  end
end
